package com.itheima08;

public class Clerk extends Employee {
    Manager m;

    public Clerk() {

    }



    public Clerk(String name, String workId, String dept) {
        super(name, workId, dept);

    }

    public Manager getM() {
        return m;
    }

    public void setM(Manager m) {
        this.m = m;
    }

    public void showMsg() {
        super.showMsg();
        System.out.println(m.getName());
    }
}